package com.lcj.mis.feign;

import com.lcj.common.util.Result;
import com.lcj.mis.controller.form.IdForm;
import com.lcj.mis.controller.form.OrderIdForm;
import com.lcj.mis.controller.form.SearchMonitoringForm;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = "aoch-nebula")
public interface NebulaServiceApi {

    /**
     * 查询订单GPS记录
     * @param form
     * @return
     */
    @PostMapping("/order/gps/searchOrderGps")
    public Result searchOrderGps(OrderIdForm form);

    /**
     * 查询订单最后GPS定位
     * @param form1
     * @return
     */
    @PostMapping("/order/gps/searchOrderLastGps")
    Result searchOrderLastGps(OrderIdForm form1);

    /**
     * 分页查询订单监控记录
     * @param form
     * @return
     */
    @PostMapping("/monitoring/searchOrderMonitoringByPage")
    Result searchOrderMonitoringByPage(SearchMonitoringForm form);

    /**
     * 查询录音分析结果
     * @param form
     * @return
     */
    @PostMapping("/monitoring/searchOrderMonitoringDetail")
    Result searchOrderMonitoringDetail(IdForm form);
}